package com.zf.apartment.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zf.common.annotation.Excel;
import com.zf.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 公寓管理对象 flats
 *
 * @author yingzi
 * @date 2024-09-27
 */
@TableName(resultMap = "com.zf.apartment.mapper.FlatsMapper.FlatsResult")
public class Flats extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 公寓ID
     */
    @TableId(value = "flats_id", type = IdType.AUTO)
    private Long flatsId;

    /**
     * 公寓名称
     */
    @Excel(name = "公寓名称")
    private String flatsName;

    /**
     * 公寓电话
     */
    @Excel(name = "公寓电话")
    private String flatsPhoneNumber;
    private Long province;
    private Long city;
    private Long area;
    private long locationId;
    private String detail;
    private int emptyRoom;
    private List<FlatsRoom> flatsRoomList;

    private String flatsStatus;
    private int roomCount;
    private List<Location> Locations;
    private Location location;
    private String flatsImagePath;
    private List<PropertyData> flatsPropertyDataList;
    private List<String> flatsProperty;
    private String provinceName;
    private String cityName;
    private String areaName;
    private int pageNum;
    private int pageSize;
    private String flatsType;

    public String getFlatsType() {
        return flatsType;
    }

    public void setFlatsType(String flatsType) {
        this.flatsType = flatsType;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public List<String> getFlatsProperty() {
        return flatsProperty;
    }

    public void setFlatsProperty(List<String> flatsProperty) {
        this.flatsProperty = flatsProperty;
    }

    public List<PropertyData> getFlatsPropertyDataList() {
        return flatsPropertyDataList;
    }

    public void setFlatsPropertyDataList(List<PropertyData> flatsPropertyDataList) {
        this.flatsPropertyDataList = flatsPropertyDataList;
    }

    public String getFlatsImagePath() {
        return flatsImagePath;
    }

    public void setFlatsImagePath(String flatsImagePath) {
        this.flatsImagePath = flatsImagePath;
    }

    public int getRoomCount() {
        return roomCount;
    }

    public void setRoomCount(int roomCount) {
        this.roomCount = roomCount;
    }

    public List<FlatsRoom> getFlatsRoomList() {
        return flatsRoomList;
    }

    public void setFlatsRoomList(List<FlatsRoom> flatsRoomList) {
        this.flatsRoomList = flatsRoomList;
    }

    public int getEmptyRoom() {
        return emptyRoom;
    }

    public void setEmptyRoom(int emptyRoom) {
        this.emptyRoom = emptyRoom;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getFlatsStatus() {
        return flatsStatus;
    }

    public void setFlatsStatus(String flatsStatus) {
        this.flatsStatus = flatsStatus;
    }

    public long getLocationId() {
        return locationId;
    }

    public void setLocationId(long locationId) {
        this.locationId = locationId;
    }

    public Long getProvince() {
        return province;
    }

    public void setProvince(Long province) {
        this.province = province;
    }

    public Long getCity() {
        return city;
    }

    public void setCity(Long city) {
        this.city = city;
    }

    public Long getArea() {
        return area;
    }

    public void setArea(Long area) {
        this.area = area;
    }

    public Location getLocation() {
        return location;
    }

    public void setLocation(Location location) {
        this.location = location;
    }

    public List<Location> getLocations() {
        return Locations;
    }

    public void setLocations(List<Location> locations) {
        Locations = locations;
    }

    public void setFlatsId(Long flatsId) {
        this.flatsId = flatsId;
    }

    public Long getFlatsId() {
        return flatsId;
    }

    public void setFlatsName(String flatsName) {
        this.flatsName = flatsName;
    }

    public String getFlatsName() {
        return flatsName;
    }

    public void setFlatsPhoneNumber(String flatsPhoneNumber) {
        this.flatsPhoneNumber = flatsPhoneNumber;
    }

    public String getFlatsPhoneNumber() {
        return flatsPhoneNumber;
    }

    @Override
    public String toString() {
        return "Flats{" +
                "flatsId=" + flatsId +
                ", flatsName='" + flatsName + '\'' +
                ", flatsPhoneNumber='" + flatsPhoneNumber + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", area='" + area + '\'' +
                ", locationId=" + locationId +
                ", detail='" + detail + '\'' +
                ", emptyRoom=" + emptyRoom +
                ", flatsRoomList=" + flatsRoomList +
                ", flatsStatus='" + flatsStatus + '\'' +
                ", roomCount=" + roomCount +
                ", Locations=" + Locations +
                ", location=" + location +
                '}';
    }
}